ScopedGtbabel\vielhuber\gtbabel\Data D

Total Complexity 586
Dependencies 9
Dependents 7
Total lines 1,850
Lines of code 1,587
Logical lines of code 1,026
Comment lines 187
Methods 69
Properties 4

Methods 69

Method Rating Maintainability Complexity Lines of code
getGroupedTranslationsFromDatabase()
D
21
65 170
autoTranslateString()
D
27
47 128
stringShouldNotBeTranslated()
D
33 43 82
getTranslationOfFileAndAddDynamicallyIfNeeded()
C
38 24 61
getPathTranslationInLanguage()
B
40 23 56
prepareTranslationAndAddDynamicallyIfNeeded()
B
42 22 51
modifyLinkAndGetTranslationOfLinkHrefAndAddDynamicallyIfNeeded()
B
40 21 56
saveCacheToDatabase()
B
36 19 76
editTranslation()
B
43 18 38
urlQueryArgsStripAndTranslate()
A
43 15 46
autoDetermineContext()
A
46 15 36
discoveryLogGet()
A
43 14 48
getTranslationOfEmailAndAddDynamicallyIfNeeded()
A
44 13 43
bulkEdit()
A
47 13 35
addCurrentUrlToTranslations()
A
49 12 31
getLanguagePickerHtml()
A
46 11 35
initDatabase()
A
42 9 59
getTranslationCountFromDatabase()
A
47 10 34
addTranslationToDatabaseAndToCache()
A
54 11 16
getTranslationInForeignLngAndAddDynamicallyIfNeeded()
A
51 8 28
getLanguagePickerData()
A
53 8 21
statsGetTranslatedCharsByServiceCompact()
A
55 8 20
translateStringMock()
A
57 8 16
stringIsChecked()
S
62 9 9
getExistingTranslationFromCache()
S
60 9 10
translateMissing()
S
54 7 20
getTranslationInForeignLng()
S
55 7 19
statsGetTranslatedCharsByService()
S
55 7 17
getExistingTranslationReverseFromCache()
S
67 8 6
getTranslationAndAddDynamicallyIfNeeded()
S
50 6 26
getTranslationOfTitleDescriptionAndAddDynamicallyIfNeeded()
S
51 6 24
getUrlTranslationInLanguage()
S
56 6 17
extractUrlsFromString()
S
56 5 17
__construct()
S
66 6 7
clearTable()
S
60 5 14
getTranslationOfUrlAndAddDynamicallyIfNeeded()
S
59 5 13
preloadDataInCache()
S
58 5 13
statsGetCosts()
S
61 4 12
statsGetLabelForService()
S
62 4 11
removeLineBreaksAndPrepareString()
S
56 3 17
reintroduceOuterLineBreaks()
S
61 3 12
getCurrentLanguageCode()
S
66 3 9
urlQueryArgsAppend()
S
66 3 8
trackDiscovered()
S
64 3 9
statsThrottlingIsActive()
S
66 3 8
deleteStringFromDatabase()
S
62 2 11
statsLoadOnce()
S
70 2 6
sourceLngIsRefererLng()
S
71 2 6
editCheckedValue()
S
72 2 4
sourceLngIsCurrentLng()
S
71 2 6
caseSensitiveCol()
S
72 2 6
resetTranslations()
S
68 2 7
translateInlineLinks()
S
69 2 6
getTranslationOfLinkHrefAndAddDynamicallyIfNeeded()
S
78 1 3
statsIncreaseCharLengthForService()
S
76 1 4
getTranslationFromDatabase()
S
76 1 3
getTranslationsFromDatabase()
S
79 1 3
statsGetDefaultServices()
S
78 1 3
setAllStringsToChecked()
S
75 1 4
deleteUncheckedStrings()
S
75 1 4
getDistinctContexts()
S
79 1 3
resetSharedValues()
S
79 1 3
modifyLink()
S
78 1 3
discoveryLogGetAfter()
S
78 1 3
discoveryLogGetBefore()
S
78 1 3
discoveryLogDeleteAfter()
S
78 1 3
discoveryLogDeleteBefore()
S
78 1 3
getCurrentLanguageLabel()
S
81 1 3
statsReset()
S
82 1 3